﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Daybooks.Dto
{
    public class GetDaybookForEditOutput : Abp.Application.Services.Dto.IOutputDto
    {
        public DaybookEditDto Book { get; set; }

        public List<DaybookItemEditDto> Items { get; set; }

        public bool IsEditMode
        {
            get { return Book.Id.HasValue; }
        }
    }
}
